package com.ivo.activiti.bpmn.record;

import com.ivo.activiti.hr.entity.Department;
import com.ivo.activiti.hr.entity.Employee;
import lombok.Data;

/**
 * 签核的角色
 * @author wj
 * @version 1.0
 */
@Data
public class Actor {
    private Department department;
    private Employee employee;

    public Actor(Department department, Employee employee) {
        this.department = department;
        this.employee = employee;
    }

    @Override
    public String toString() {
        return department.getDepartment_ID()+"/" + employee.getEmployee_ID();
    }
}
